package com.common.frame.extension

import com.common.frame.utils.ScreenUtil
import com.common.frame.utils.Utils

fun Int.dpToPx() = ScreenUtil.dip2px(Utils.app,this.toFloat())

fun Float.dpToPx() = ScreenUtil.dip2px(Utils.app,this)